package cn.iocoder.yudao.module.ride.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * Ride 错误码枚举类
 *
 * ride 系统，使用 1-060-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 车辆管理 1-060-001-000 ==========
    ErrorCode VEHICLE_NOT_EXISTS = new ErrorCode(1_060_001_000, "车辆不存在");
    ErrorCode VEHICLE_PLATE_NO_EXISTS = new ErrorCode(1_060_001_001, "车牌号已存在");
    ErrorCode VEHICLE_STATUS_INVALID = new ErrorCode(1_060_001_002, "车辆状态无效");

    // ========== 司机管理 1-060-002-000 ==========
    ErrorCode DRIVER_NOT_EXISTS = new ErrorCode(1_060_002_000, "司机不存在");
    ErrorCode DRIVER_LICENSE_EXISTS = new ErrorCode(1_060_002_001, "驾驶证号已存在");
    ErrorCode DRIVER_STATUS_INVALID = new ErrorCode(1_060_002_002, "司机状态无效");
    ErrorCode BIND_LOG_NOT_EXISTS = new ErrorCode(1_060_002_003, "车辆绑定/解绑记录不存在");
    ErrorCode DRIVER_EXISTS = new ErrorCode(1_060_002_004,  "司机上班必填项目不存在");
    ErrorCode BANK_NOT_EXISTS = new ErrorCode(1_060_002_005, "司机银行卡不存在");
    ErrorCode TRAINING_NOT_EXISTS = new ErrorCode(1_060_002_006, "司机培训课程不存在");
    ErrorCode PHOTO_NOT_EXISTS = new ErrorCode(1_060_002_007, "证件照片不存在");
    ErrorCode EXTEND_NOT_EXISTS = new ErrorCode(1_060_002_008, "司机扩展不存在");

    // ========== 订单管理 1-060-003-000 ==========
    ErrorCode ORDER_NOT_EXISTS = new ErrorCode(1_060_003_000, "订单不存在");
    ErrorCode ORDER_STATUS_INVALID = new ErrorCode(1_060_003_001, "订单状态无效");
    ErrorCode ORDER_CANNOT_CANCEL = new ErrorCode(1_060_003_002, "订单无法取消");
    ErrorCode ORDER_CANCEL_FAIL_STATUS_ERROR = new ErrorCode(1_060_003_003, "当前订单状态不允许取消");
    ErrorCode ORDER_RATE_FAIL_STATUS_ERROR = new ErrorCode(1_060_003_004, "当前订单状态不允许评价");
    ErrorCode ORDER_ACCESS_DENIED = new ErrorCode(1_060_003_005, "无权访问该订单");
    ErrorCode ORDER_CREATE_FAIL = new ErrorCode(1_060_003_006, "订单创建失败");
    ErrorCode BLACKLIST_NOT_EXISTS = new ErrorCode(1_060_003_010, "黑名单记录不存在");
    ErrorCode MEMBER_GROWTH_RECORD_NOT_EXISTS = new ErrorCode(1_060_003_011, "会员成长值变动记录不存在");
    ErrorCode RULE_DICT_NOT_EXISTS = new ErrorCode(1_060_003_012, "规则字典不存在");
    ErrorCode MEMBER_LEVEL_NOT_EXISTS = new ErrorCode(1_060_003_013, "会员等级管理不存在");
    ErrorCode SHOP_NOT_EXISTS = new ErrorCode(1_060_003_014, "订单信息表不存在");

    // ========== 乘客管理 1-060-003-000 ==========
    ErrorCode PASSENGER_NOT_EXISTS = new ErrorCode(1_060_004_000, "乘客信息不存在");
    ErrorCode VEHICLE_INFO_NOT_EXISTS = new ErrorCode(1_060_005_000, "服务类型管理不存在");


}